<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>



    <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title><?php echo ($seo_title); ?></title>
<meta name="keywords" content="<?php echo ($seo_keywords); ?>" />
<meta name="description" content="<?php echo ($seo_description); ?>" />


<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">

<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp"/>

<link rel="icon" type="image/png" href="/Statics/Home/img/favicon.png">

<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="/Statics/Home/img/app-icon72x72@2x.png">

<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="PLAZOTTA"/>
<link rel="apple-touch-icon-precomposed" href="/Statics/Home/img/app-icon72x72@2x.png">

<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="/Statics/Home/img/app-icon72x72@2x.png">
<meta name="msapplication-TileColor" content="#0e90d2">

    <link rel="stylesheet" href="/Statics/Home/css/amazeui.min.css">
<link rel="stylesheet" href="/Statics/Home/css/reset.css">
<link rel="stylesheet" href="/Statics/Home/css/common.css">
<link rel="stylesheet" href="/Statics/Home/css/button.css">

<link rel="stylesheet" href="/Statics/Home/js/sco/css/scojs.css" />




</head>
<body>


<form method="post" class="form-horizontal J_ajaxForm" action='<?php echo U("");?>'>
<div class="am-g  well  common-border-bottom  order-dizhi" id="dizhi">



    <div class="am-block am-cf name">

        收货人: <?php echo ($orderlist["name"]); ?></span>

        <span class="am-fr tel"><tel><?php echo ($orderlist["tel"]); ?></tel></span>
    </div>

    <div class="am-margin-top-xs address">
        收货地址: <?php echo ($orderlist["address"]); ?>
    </div>


</div>


<div class="am-g  well  common-border-bottom  am-margin-top-sm ">



    <div href="" class="am-bg-fff am-padding-sm am-block common-border-bottom">
        <span> 订单编号</span>

        <span class="am-fr"> <?php echo ($orderlist["order_sn"]); ?> </span>
    </div>



    <div href="" class="am-bg-fff am-padding-sm am-block common-border-bottom">
        <span> 配送方式</span>

        <span class="am-fr"> 快递 免邮 </span>
    </div>


    <?php if($orderlist['jf']): ?><div  class=" am-bg-fff am-padding-sm am-block common-border-bottom">
        <span> 使用积分抵用现金</span>


        <span class="am-fr"> <?php echo ($orderlist["jf"]); ?> </span>
    </div><?php endif; ?>






    <div  class=" am-bg-fff am-padding-sm am-block common-border-bottom  ">
        <label class="am-radio">
            <input type="radio" name="pay_type" value="weixin" data-am-ucheck  checked>
             <span class="am-text-lg am-margin-left-lg ">微信支付</span>
        </label>


    </div>




    <div  class=" am-bg-fff am-padding-sm am-block common-border-bottom  ">
        <label class="am-radio">
            <input type="radio"
                   <?php if($u[money] < $orderlist[price]): ?>disabled<?php endif; ?>

                   name="pay_type" value="qianbao" data-am-ucheck >
            <span class="am-text-lg am-margin-left-lg ">钱包支付(余额:<?php echo ($u["money"]); ?>)</span>
        </label>


    </div>




    <div  class="am-padding-sm am-block am-bg-fff  am-text-right">


        共1件，合计：<span class="am-text-f60">￥<?php echo ($orderlist["price_sum"]); ?></span>


    </div>


    <input type="hidden" name="order_sn" value="<?php echo I('get.order_sn');?>">

    </div>

    <div data-am-widget="navbar" class="am-navbar am-cf am-navbar-index  common-border-top "
     id="">


    <div class="order-from-bottom am-text-right">

        <span class="am-margin-right-sm"> 合计：<span class="am-text-f60">￥<?php echo ($orderlist["price_sum"]); ?></span></span>

        <button  class="am-btn  am-btn-danger am-btn-xl ajax-post"  target-form="J_ajaxForm"  type="submit">开始支付</button>



    </div>
</div>


</form>


    <!--[if lt IE 9]>
<script src="/Statics/Home/js/jquery.11.1.js"></script>
<script src="/Statics/Home/js/modernizr.js"></script>
<script src="/Statics/Home/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/Statics/Home/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="/Statics/Home/js/amazeui.min.js"></script>




<script src="/Statics/Home/js/sco/js/sco.message.js"></script>
<script src="/Statics/Home/js/common.js"></script>

<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>


    wx.config({
                debug: false,
                appId: '<?php echo ($jssign["appId"]); ?>',
                timestamp: '<?php echo ($jssign["timestamp"]); ?>',
            nonceStr: '<?php echo ($jssign["nonceStr"]); ?>',
            signature: '<?php echo ($jssign["signature"]); ?>',
            jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage']
    });

    var imgUrl='<?php echo ($imgUrl); ?>';
    var timeLineLink= '<?php echo ($timeLineLink); ?>';
    var tTitle= "<?php echo ($tTitle); ?>";
    var tContent= "<?php echo ($tContent); ?>";


    wx.ready(function () {



        wx.onMenuShareTimeline({
            title: tTitle, // 分享标题
            link:  timeLineLink, // 分享链接
            imgUrl:  imgUrl, // 分享图标
            success: function () {
                // 用户确认分享后执行的回调函数
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });

        wx.onMenuShareAppMessage({
            title:  tTitle, // 分享标题
            desc:  tContent, // 分享描述
            link:  timeLineLink, // 分享链接
            imgUrl:  imgUrl, // 分享图标
            type: '', // 分享类型,music、video或link，不填默认为link
            dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
            success: function () {
                // 用户确认分享后执行的回调函数
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });



    }, false);

</script>












</body>
</html>